///THIS IS FOR JAVASCRIPT ONLY USED IN HOME VIEW